﻿
namespace Manox.Libs.Networking
{
    /// <summary>
    /// Network message.
    /// </summary>
    public abstract class NetworkMessage
    {
        /// <summary>
        /// Serialize.
        /// </summary>
        /// <param name="writer"></param>
        public virtual void Serialize(SerializeWriter writer)
        {
        
        }

        /// <summary>
        /// Deserialize.
        /// </summary>
        /// <param name="reader"></param>
        public virtual void Deserialize(SerializeReader reader)
        {
        
        }                       
    }
}
